<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>@section('title')
    Administration
    @show</title>
<meta http-equiv="Cache-Control" content="private">
<meta http-equiv="X-UA-Compatible" content="IE=11" />
<meta name="keywords" content="@yield('keywords')" />
<meta name="author" content="@yield('author')" />
<!-- Google will often use this as its description of your page/site. Make it good. -->
<meta name="description" content="@yield('description')" />

<!-- Speaking of Google, don't forget to set your site up: http://google.com/webmasters -->
<meta name="google-site-verification" content="">

<!-- Dublin Core Metadata : http://dublincore.org/ -->
<meta name="DC.title" content="Project Name">
<meta name="DC.subject" content="@yield('description')">
<meta name="DC.creator" content="@yield('author')">

<!--  Mobile Viewport Fix -->
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>

<!-- This is the traditional favicon.
     - size: 16x16 or 32x32
     - transparency is OK
     - see wikipedia for info on browser support: http://mky.be/favicon/ -->
<link rel="shortcut icon" href="{{{ asset('assets/ico/favicon.png') }}}">

<!-- iOS favicons. -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{{ asset('assets/ico/apple-touch-icon-144-precomposed.png') }}}">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{{ asset('assets/ico/apple-touch-icon-114-precomposed.png') }}}">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{{ asset('assets/ico/apple-touch-icon-72-precomposed.png') }}}">
<link rel="apple-touch-icon-precomposed" href="{{{ asset('assets/ico/apple-touch-icon-57-precomposed.png') }}}">

<!-- bootstrap 3.0.2 -->
<link href="{{ asset('self_service/bootstrap/css/bootstrap.css') }}" rel="stylesheet" type="text/css" />
<!-- font Awesome -->
<link href="{{ asset('back_end/css/font-awesome.min.css') }}" rel="stylesheet" type="text/css" />
<!-- Ionicons -->
<link href="{{ asset('back_end/css/ionicons.min.css') }}" rel="stylesheet" type="text/css" />
<!-- Morris chart -->
<link href="{{ asset('back_end/css/morris/morris.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('assets/messenger/css/messenger.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('assets/messenger/css/messenger-theme-future.css') }}" rel="stylesheet" type="text/css" />

<!-- Theme style -->
<link rel="stylesheet" type="text/css" href="{{{ asset('self_service/css/main.css') }}}"/>
<link rel="stylesheet" type="text/css" href="{{{ asset('self_service/css/doc.css') }}}"/>
<style>
.skin-blue .navbar {
	background-color: #CD3F3F;
}
.skin-blue .logo {
	background-color: #CD3F3F;
	color: #f9f9f9;
}
.skin-blue .logo:hover {
	background: #CD3F3F;
}
 @yield('styles')
</style>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
    <script src="{{asset('back_end/js/html5.js') }}"></script>
    <script src="{{asset('back_end/js/html5shiv.js') }}"></script>
    <script src="{{asset('back_end/js/respond.min.js') }}"></script>
    <![endif]-->

</head>
<body>
<div class="divbg"><img src="{{asset('self_service/img/bg2.jpg') }}" /></div>
<!-- header logo: style can be found in header.less -->
<header id="header">
  <div class="wd100" style="height: 93px; position: fixed; z-index: 998; ">
    <div class="container">
      <div style="height:10px;"></div>
      <div class="row">
        <div class="col-md-10 head-left"> <a href="{{{ URL::to('self_service_end') }}}" title=""> <img class="ihm-logo big" src="{{ asset('self_service/img/topbtn1.png') }}" title="华丰自助点餐" alt="华丰自助点餐"> </a>
          <nav class="top-nav-bar">
            <ul>
              <li  {{Input::has('menu_id')?'':'class="current"'}}> <a href="{{ URL::to('self_service_end/index') }}"><span>首页</span></a> </li>
              @foreach(Menu::select('id','name')->get() as $menu)
              <li {{Input::get('menu_id',-1)==$menu->id?'class="current"':''}}><a href="{{ URL::to('self_service_end/index').'?menu_id='.$menu->id }}">{{ $menu->name }}</a></li>
              @endforeach
            </ul>
          </nav>
          <div class="clearfix"> </div>
        </div>
        <div class="col-md-2 head-right pr"> <a href="#" title="返回"><img class="fr" id="windowsback" src="{{ asset('self_service/img/topbtn2.png') }}" title="返回" alt="返回" style="margin-left: 25px;margin-top: 18px;" /></a> </div>
      </div>
    </div>
  </div>
</header>
<div class="container" style="padding-top: 160px;"> @yield('container') </div>

<!-- jQuery 2.0.2 -->
<script src="{{asset('self_service/js/jquery.min.js') }}"></script>
<!-- jquery formatCurrency -->
<script src="{{asset('assets/jquery.formatCurrency.js') }}"></script>

<!--[if lte IE 6]>
    <script type="text/javascript" src="{{asset('assets/js/bootstrap-ie.js') }}"></script>
    <![endif]-->

<!-- Bootstrap -->
<script src="{{asset('self_service/bootstrap/js/bootstrap.min.js') }}" type="text/javascript"></script>
<script type="text/javascript" src="{{asset('assets/messenger/js/messenger.min.js') }}"></script>
<script type="text/javascript" src="{{asset('self_service/js/main.js') }}"></script>
<script type="text/javascript" src="{{asset('self_service/js/json2.js') }}"></script>
<script type="text/javascript">
        var imageUploadUrl = "{{{ URL::to('file/ck_upload') }}}"+"?_token={{{ csrf_token() }}}";
    </script>
<script>
$(function(){
    $('.top-nav-bar').children('.menu').children('li').click(function(){
        $(this).addClass('current').siblings('li').removeClass('current')
    })
})
</script>
@yield('scripts')
</body>
</html>